package com.tudouji.project.permission.domain;

import com.tudouji.framework.aspectj.lang.annotation.Excel;
import com.tudouji.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 权限定义对象 permissiondef
 * 
 * @author wf
 * @date 2021-04-01
 */
public class Permissiondef
{
    private static final long serialVersionUID = 1L;

    /** guid */
    private String guid;

    /** 权限编码 */
    @Excel(name = "权限编码")
    private Integer code;

    /** 权限名称 */
    @Excel(name = "权限名称")
    private String name;

    /** 权限归属的业务流程列表，都好分割。一直业务流程 1-销售订单 2 生产领料 3 生产计划-4 报废 */
    @Excel(name = "权限归属的业务流程列表，都好分割。一直业务流程 1-销售订单 2 生产领料 3 生产计划-4 报废")
    private String functiontype;

    /** 授权类型1-	库房权限 2- 部门权限 3-库房+部门权限 4- 全局权限 */
    @Excel(name = "授权类型1-	库房权限 2- 部门权限 3-库房+部门权限 4- 全局权限")
    private Integer scopetype;

    /** 权限类型
1-数据查看权限 2-操作权限 */
    @Excel(name = "权限类型 1-数据查看权限 2-操作权限")
    private Integer operationtype;

    /** 权限状态 */
    private String corespdstatus;

    public void setGuid(String guid) 
    {
        this.guid = guid;
    }

    public String getGuid() 
    {
        return guid;
    }
    public void setCode(Integer code) 
    {
        this.code = code;
    }

    public Integer getCode() 
    {
        return code;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setFunctiontype(String functiontype) 
    {
        this.functiontype = functiontype;
    }

    public String getFunctiontype() 
    {
        return functiontype;
    }
    public void setScopetype(Integer scopetype) 
    {
        this.scopetype = scopetype;
    }

    public Integer getScopetype() 
    {
        return scopetype;
    }
    public void setOperationtype(Integer operationtype) 
    {
        this.operationtype = operationtype;
    }

    public Integer getOperationtype() 
    {
        return operationtype;
    }
    public void setCorespdstatus(String corespdstatus) 
    {
        this.corespdstatus = corespdstatus;
    }

    public String getCorespdstatus() 
    {
        return corespdstatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("guid", getGuid())
            .append("code", getCode())
            .append("name", getName())
            .append("functiontype", getFunctiontype())
            .append("scopetype", getScopetype())
            .append("operationtype", getOperationtype())
            .append("corespdstatus", getCorespdstatus())
            .toString();
    }
}
